import request from '@/utils/request'

// 查询货主支付宝钱包管理列表
export function listPayAlipay(query) {
  return request({
    url: '/employer/payAlipay/list',
    method: 'get',
    params: query
  })
}

// 查询货主支付宝钱包管理详细
export function getPayAlipay(id) {
  return request({
    url: '/employer/payAlipay/' + id,
    method: 'get'
  })
}

// 新增货主支付宝钱包管理
export function addPayAlipay(data) {
  return request({
    url: '/employer/payAlipay',
    method: 'post',
    data: data
  })
}

// 修改货主支付宝钱包管理
export function updatePayAlipay(data) {
  return request({
    url: '/employer/payAlipay',
    method: 'put',
    data: data
  })
}

// 删除货主支付宝钱包管理
export function delPayAlipay(id) {
  return request({
    url: '/employer/payAlipay/' + id,
    method: 'delete'
  })
}
